BUILD:= build

top:= aib_mac_ch_tb

%:
	iverilog -f flist.f -o ${BUILD}/$@.vvp tb/$@.v 
	cd ${BUILD} && vvp $@.vvp > $@.log

vcs_%: tb/%.v
	vcs -f flist.f -debug -o ${BUILD}/$@.simv $<

clean:
	cd ${BUILD} && rm -rf *.vvp

	
